public class 作业三元表达式 {
    public static void main(String[] args) {
        int i =10 , a = 2 ,max;
        max= i > a ? i : a ;
        System.out.println(max);
        int r = 75 ;
         String min = r < 60 ? "不及格":"及格";
        System.out.println(min );
        int w = 2 , c = 6, x =4 , ikun;
        ikun = w > c ? (w > x ? w : x):(c > x ? c : x);
        System.out.println(ikun);


    }
}
